package com.deco.logic.variableSpeed;

import com.deco.dao.domain.table.Variablespeed;
import com.deco.dao.logic.variableSpeed.VariableSpeedDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 说明：
 * 创建人：Q879095880
 */
@Component
public class VariableSpeedLogic {
    @Autowired
    private VariableSpeedDao variableSpeedDao;

    public List<Variablespeed> getList(Variablespeed variablespeed){
        return variableSpeedDao.getList(variablespeed);
    }

    public List<Variablespeed>getLike(String brand){
        return variableSpeedDao.getLike(brand);
    }


    public List<Variablespeed>getByBrand(Variablespeed variablespeed){
        return variableSpeedDao.getByBrand(variablespeed);
    }

    public List<Variablespeed> getInfo(Variablespeed variablespeed){
        return variableSpeedDao.getInfo(variablespeed);
    }

    public List<Variablespeed> getByvehicletype(Variablespeed variablespeed){
        return variableSpeedDao.getByvehicletype(variablespeed);
    }

    public  List<Variablespeed> getByvehcleId(String levelId,String tid){
        return variableSpeedDao.getByvehcleId(levelId,tid);
    }

    public List<Variablespeed> getByLevelId(String levelId){
        return variableSpeedDao.getByLevelId(levelId);
    }
}
